﻿using HuiLian.Cloud.ViewModel;
using HuiLian.Cloud.View;
using HuiLian.Cloud.ViewModel.Base;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace HuiLian.Cloud.ViewModel
{
    public class ConfirmWindowViewModel : ViewModelBase
    {
        #region
        public ICommand OnConfirmClickCommand => new DelegateCommand((sender) =>
        {
            if (sender is ConfirmWindow window)
            {
                window.Hide();
                window.Close();
            }
            DepayWindow depayWindow = new DepayWindow();
            depayWindow.Show();
        });
        #endregion
    }
}
